PM3.6 - Donkey Kong - Common Subroutine 0x9019a7a8

  1. CreateInterrupt { interrupt_id: None, action: CaptureJump, requirement: (ButtonMashingOrStatusExpiredSleepBuryFreeze) }
  2. PreviousInterruptAddRequirement((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc45)))
  3. PreviousInterruptAddRequirement((LongtermAccessFloat (0x6) Equal scalar(-5)))
  4. CreateInterrupt { interrupt_id: Some(10036), action: CaptureCut, requirement: (ButtonMashingOrStatusExpiredSleepBuryFreeze) }
  5. PreviousInterruptAddRequirement((LongtermAccessFloat (0x6) Equal scalar(-5)))
  6. Return
  7. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc45)))
    1. CreateInterrupt { interrupt_id: None, action: CaptureJump, requirement: (Always) }
  8. ChangeSubactionRestartFrame(CaptureCut)
  9. Return
  10. if ((InternalConstantInt(PreviousAction) Equal scalar(64)))
    1. FloatVariableSet { variable: RandomAccessFloat (0x7), value: InternalConstantInt (0xbcf) }
    2. FloatVariableMultiply { variable: RandomAccessFloat (0x7), value: 6 }
    3. FloatVariableAdd { variable: RandomAccessFloat (0x7), value: 0.48 }
    4. UnknownEvent { namespace: 0xe, code: 0x8, unk1: 0x0, arguments: [Scalar(0.0), Scalar(0.0), Scalar(0.0), Value(1)] }
    5. AddVelocity { x_vel: Constant(-2.0), y_vel: Variable(RandomAccessFloat(Address(7))) }
  11. ChangeSubactionRestartFrame(CaptureJump)
  12. Return